{* Extend our master template *}
{extends file="master.tpl"}

{* This block is defined in the master.php template *}
{block name=content}
    <div class="row">
        <div class="col-md-12">
            <form id="form" class="form-horizontal" method="post">

            	<input type="hidden" name="id" value="{$user->id}" />
                {$csrf|form_hidden}

                <div class="panel panel-default">
                    <div class="panel-heading">
                        <div class="panel-btns">
                            <a href="#" class="panel-close">&times;</a>
                            <a href="#" class="minimize">&minus;</a>
                        </div>
                        <h4 class="panel-title">{'deactivate_heading'|lang}</h4>
                        <p>{lang('deactivate_subheading')|sprintf:$user->username}</p>
                    </div>
                    <div class="panel-body">
                        
                        <div id="infoMessage">{$message}</div>

                        <div class="form-group">
                              <label class="col-sm-3 control-label">{'deactivate_confirm_y_label'|lang}</label>
                              <div class="col-sm-9">
                                    <input type="radio" class="form-control" name="confirm" value="yes" checked="checked" />
                              </div>
                        </div>

                        <div class="form-group">
                              <label class="col-sm-3 control-label">{'deactivate_confirm_n_label'|lang}</label>
                              <div class="col-sm-9">
                                    <input type="radio" class="form-control" name="confirm" value="no" />
                              </div>
                        </div>

                    </div><!-- panel-body -->
                    <div class="panel-footer">
                        <div class="row">
                            <div class="col-sm-9 col-sm-offset-3">
                                <button class="btn btn-primary">Submit</button>
                            </div>
                        </div>
                    </div>
                </div><!-- panel -->
            </form>
        </div>
    </div>
{/block}